home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DDJMAG / DDJ8806.ZIP / MALLOCH.ZIP / MALLOC.H
Text File  |  1980-01-01  |  768b  |  23 lines

  1.  
  2.  
  3.         ________________________________________________________________
  4.  
  5.  
  6.           #include <malloc.h>
  7.  
  8.           void          dfree           ( void *p );
  9.           void          *dmalloc        ( unsigned size );
  10.           void          *dcalloc        ( unsigned n, unsigned size );
  11.           int           malloc_checking ( int );
  12.           unsigned long memory_used     ( void );
  13.  
  14.           #ifdef DEBUG
  15.           #    define free(p)     dfree(p)
  16.           #    define malloc(s)   dmalloc(s)
  17.           #    define calloc(n,s) dcalloc(n,s)
  18.           #endif
  19.  
  20.         ________________________________________________________________
  21.  
  22. EXAMPLE 1: NEEDS CAPS
  23.